package de.kraenksoft.android.cinemaExample.fakes;

import java.util.List;
import java.util.Map;

import de.kraenksoft.android.cinemaExample.views.MovieListView;

public class MovieListViewFake implements MovieListView {
	
	private String caption = "";
	private boolean nextDayBtnVisible = false;
	private boolean lastDayBtnVisible = false;
	private List<Map<String, String>> movies;

	public String getCaption() {
		return caption;
	}

	public boolean isNextDayBtnVisible() {
		return nextDayBtnVisible;
	}

	public boolean isLastDayBtnVisible() {
		return lastDayBtnVisible;
	}

	@Override
	public void setCaption(String caption) {
		this.caption = caption;
	}

	@Override
	public void setNextDayButtonVisible(boolean visible) {
		nextDayBtnVisible = visible;
	}

	@Override
	public void setLastDayButtonVisible(boolean visible) {
		lastDayBtnVisible = visible;
	}

	@Override
	public void setMovies(List<Map<String, String>> movies) {
		this.movies = movies;
	}
	
	public List<Map<String, String>> getMovies(){
		return movies;
	}

	@Override
	public void showLoadingData(boolean active) {
		// Do nothing
	}

	@Override
	public void setErrorText(String errorText) {
		// Do nothing
		
	}

}
